\section{cdev.\+h File Reference}
\label{cdev_8h}\index{cdev.\+h@{cdev.\+h}}


Ether\+C\+AT master character device.  


\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \textbf{ ec\+\_\+cdev\+\_\+t}
\begin{DoxyCompactList}\small\item\em Ether\+C\+AT master character device. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \textbf{ ec\+\_\+cdev\+\_\+init} (\textbf{ ec\+\_\+cdev\+\_\+t} $\ast$, \textbf{ ec\+\_\+master\+\_\+t} $\ast$, dev\+\_\+t)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\mbox{\label{cdev_8h_a2f7ae759bd3e5d289477cc5d3f0194ff}} 
void \textbf{ ec\+\_\+cdev\+\_\+clear} (\textbf{ ec\+\_\+cdev\+\_\+t} $\ast$)
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Ether\+C\+AT master character device. 



\subsection{Function Documentation}
\mbox{\label{cdev_8h_a6c719d1b6848d5ce60411e19d51c22dc}} 
\index{cdev.\+h@{cdev.\+h}!ec\+\_\+cdev\+\_\+init@{ec\+\_\+cdev\+\_\+init}}
\index{ec\+\_\+cdev\+\_\+init@{ec\+\_\+cdev\+\_\+init}!cdev.\+h@{cdev.\+h}}
\subsubsection{ec\+\_\+cdev\+\_\+init()}
{\footnotesize\ttfamily int ec\+\_\+cdev\+\_\+init (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+cdev\+\_\+t} $\ast$}]{cdev,  }\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{dev\+\_\+t}]{dev\+\_\+num }\end{DoxyParamCaption})}



Constructor. 

\begin{DoxyReturn}{Returns}
0 in case of success, else $<$ 0 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em cdev} & Ether\+C\+AT master character device. \\
\hline
{\em master} & Parent master. \\
\hline
{\em dev\+\_\+num} & Device number. \\
\hline
\end{DoxyParams}


Definition at line 108 of file cdev.\+c.

